<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <link rel="stylesheet" href="/lib/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="/css/base.css">
</head>

<body>
    <div class="login-body">
        <div class="login-container">
            <h4 class="title">登录</h4>
            <div class="login">
                <!-- 表单提交 表示提交方式post -->
                <form action="/admin/dologin" method="post">
                    <div class="form-group">
                        <label>邮件</label>
                        <!-- 给每个表单一个name属性.post取值就可以根据name来取值 -->
                        <input type="email" name="email" class="form-control" placeholder="请输入邮件地址">
                    </div>
                    <div class="form-group">
                        <label>密码</label>
                        <input type="password" name="password" class="form-control" placeholder="请输入密码">
                    </div>
                    
                    <button type="submit" class="btn btn-primary">登录</button>
                </form>
            </div>
            <div class="tips"><%=msg%></div>
        </div>
    </div>
   
<!-- /主体内容 -->
<script src="/lib/jquery/jquery.min.js"></script>
<script src="/lib/bootstrap/js/bootstrap.min.js"></script>
</body>

</html>